<?php
/**
 * Description of FusaBaseTest
 *
 * @author ComunidadFusa.com.ar
 */
require_once dirname(__FILE__) . '/../../../bootstrap/unit.php';

class NeoBaseTest extends PHPUnit_Framework_TestCase {

    protected static $loader;

    public static function setUpBeforeClass() {
        self::recargarData();
    }

    public static function recargarData() {
        $configuration = ProjectConfiguration::getApplicationConfiguration(self::getApp(), 'test', true);
        sfContext::createInstance($configuration);
        new sfDatabaseManager($configuration);
        self::$loader = new sfPropelData();
        self::$loader->loadData(sfConfig::get('sf_test_dir') . '/fixtures');
    }

    public static function getApp() {
        return "frontend";
    }

}

?>
